﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="TCSettings.ascx.cs" Inherits="NCS.Module.CMS.Admin.TCSettings" %>
<%@ Register Src="UserControls/Editor.ascx" TagName="Editor" TagPrefix="uc1" %>
<%@ Register Assembly="System.Web.Extensions" Namespace="System.Web.UI" TagPrefix="asp" %>

<asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional" RenderMode="Inline">
    <triggers>
         <asp:asyncpostbacktrigger ControlID="dropTaiChinh" EventName="SelectedIndexChanged" />
    </triggers>
    <contenttemplate>
        <table border="0" cellpadding="0" cellspacing="0" style="width: 100%" id="tb_taichinh"
            runat="server">
            <tr>
                <td style="height: 20px">
                </td>
            </tr>
            <tr>
                <td align="center" colspan="2">
                    <h2>
                        Cấu hình kênh Tài chính</h2>
                </td>
            </tr>
            <tr>
                <td align="center" valign="middle" colspan="2">
                    ----------
                    <asp:DropDownList ID="dropTaiChinh" runat="server" DataTextField="Portal_Name" DataValueField="PortalID" Width="250px" Enabled="False">
                    </asp:DropDownList>
                    ----------</td>
            </tr>
            <tr>
                <td style="height: 5px;" colspan="2">
                </td>
            </tr>
            <tr>
                <td valign="top">
                    Tin tức trang chủ</td>
                <td>
                    <asp:DropDownList ID="drophothome" runat="server" Width="423px">
                    </asp:DropDownList></td>
            </tr>
            <tr>
                <td valign="top">
                    Tin mới - nóng</td>
                <td>
                    <asp:DropDownList ID="dropTinmoiNong" runat="Server" Width="423px">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td valign="top" style="height: 22px">
                    Chứng khoán</td>
                <td style="height: 22px">
                    <asp:DropDownList ID="dropChungKhoan" runat="server" Width="423px">
                    </asp:DropDownList></td>
            </tr>
            <tr>
                <td valign="top">
                    Tiêu điểm</td>
                <td>
                    <asp:DropDownList ID="dropTieuDiem" runat="server" Width="423px">
                    </asp:DropDownList></td>
            </tr>
            <tr>
                <td valign="top">
                    Chuyên gia phân tích</td>
                <td>
                    <asp:DropDownList ID="dropChuyengiaPT" runat="server" Width="423px">
                    </asp:DropDownList></td>
            </tr>
            <tr>
                <td valign="top">
                    Bài đọc nhiều nhất</td>
                <td>
                    <asp:DropDownList ID="dropDocnhieunhat" runat="server" Width="423px">
                    </asp:DropDownList></td>
            </tr>
            <tr>
                <td style="height: 3px;" colspan="2">
                </td>
            </tr>
            <tr style="display: none">
                <td colspan="2">
                    <b>Thông tin cuối trang</b>
                </td>
            </tr>
            <tr id="tr_footer" runat="server">
                <td colspan="2">
                    <uc1:Editor ID="txtFooter" runat="server" />
                </td>
            </tr>
            <tr><td colspan="2" style="height:20px;"></td></tr>
             <tr>
                <td valign="top" colspan="2" align="center">
                    <b>Cấu hình trang cấp 2 và trang chi tiết</b></td>                
            </tr>
            <tr><td colspan=2 style="height:20px"></td></tr>
             <tr>
                <td valign="top" colspan="2" align=center style="width: 100%" >
                    <table  cellpadding="10" cellspacing="0">
                        <tr>
                            <td style="width:150px;"><STRONG>Tin mới nóng</STRONG></td>
                            <td style="width:10px;"></td>
                            <td><STRONG>Nội dung hiển thị bên phải</STRONG></td>
                        </tr>
                         <tr><td colspan=2 style="height:10px"></td></tr>
                        <tr>
                            <td><asp:DropDownList id="dropTCMoiNong" runat="server"></asp:DropDownList></td>
                             <td style="width:10px;"></td>
                            <td>
                                <table width="100%" cellpadding="5" cellspacing="0">
                                    <tr><td>Vị trí 1</td></tr>
                                    <tr><td><asp:DropDownList id="dropTC_MoiNong_Position1" runat="server" Width="200px"></asp:DropDownList></td></tr>
                                </table>
                            </td>
                        </tr> <tr><td colspan=2 style="height:20px"></td></tr>
                    </table>
                    
                     <table  cellpadding="5" cellspacing="0">
                        <tr>
                            <td style="width:150px;"><STRONG>Chứng khoán</STRONG></td>
                            <td style="width:10px;"></td>
                            <td><STRONG>Nội dung hiển thị bên phải</STRONG></td>
                        </tr> <tr><td colspan=2 style="height:10px"></td></tr>
                        <tr>
                            <td><asp:DropDownList id="dropTCCK" runat="server"></asp:DropDownList></td>
                             <td style="width:10px;"></td>
                            <td>
                                <table width="100%" cellpadding="5" cellspacing="0">
                                    <tr><td>Vị trí 1</td></tr>
                                    <tr><td><asp:DropDownList id="dropTC_CK_Position1" runat="server" Width="200px"></asp:DropDownList></td></tr>
                                </table>
                            </td>
                        </tr> <tr><td colspan=2 style="height:20px"></td></tr>
                    </table>
                     <table  cellpadding="5" cellspacing="0">
                        <tr>
                            <td style="width:150px;"><STRONG>Chuyên gia phân tích</STRONG></td>
                            <td style="width:10px;"></td>
                            <td><STRONG>Nội dung hiển thị bên phải</STRONG></td>
                        </tr> <tr><td colspan=2 style="height:10px"></td></tr>
                        <tr>
                            <td><asp:DropDownList id="dropTCCGPT" runat="server"></asp:DropDownList></td>
                             <td style="width:10px;"></td>
                            <td>
                                <table width="100%" cellpadding="5" cellspacing="0">
                                    <tr><td>Vị trí 1</td></tr>
                                    <tr><td><asp:DropDownList id="dropTC_CGPT_Position1" runat="server" Width="200px"></asp:DropDownList></td></tr>
                                </table>
                            </td>
                        </tr> <tr><td colspan=2 style="height:20px"></td></tr>
                    </table>
                     <table  cellpadding="5" cellspacing="0">
                        <tr>
                            <td style="width:150px;"><STRONG>Tiêu điểm</STRONG></td>
                            <td style="width:10px;"></td>
                            <td><STRONG>Nội dung hiển thị bên phải</STRONG></td>
                        </tr> <tr><td colspan=2 style="height:10px"></td></tr>
                        <tr>
                            <td><asp:DropDownList id="dropTCTieuDiem" runat="server"></asp:DropDownList></td>
                             <td style="width:10px;"></td>
                            <td>
                                <table width="100%" cellpadding="5" cellspacing="0">
                                    <tr><td>Vị trí 1</td></tr>
                                    <tr><td><asp:DropDownList id="dropTC_TieuDiem_Position1" runat="server" Width="200px"></asp:DropDownList></td></tr>
                                </table>
                            </td>
                        </tr> <tr><td colspan=2 style="height:20px"></td></tr>
                    </table>
                 <asp:Label ID="lblUpdateStatus" runat="server" Font-Bold="True"
    ForeColor="Blue"></asp:Label></td>                
            </tr>
            
            
        </table>
    </contenttemplate>
</asp:UpdatePanel>
<table><tr>
                <td>
                </td>
                <td>
                    <asp:Button ID="btnUpdate" runat="server" CssClass="Button" OnClick="btnUpdate_Click"
                        Text="Cập nhật" />
                </td>
            </tr></table>